package com.neusoft.neuiotms.dcam.fixed.service.spareconsume;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.StockDTO;
import com.neusoft.neuiotms.dcam.fixed.dto.spareconsume.SpareConsumeStockDTO;

public interface SpareConsumeStockService {

    List<SpareConsumeStockDTO> create(List<SpareConsumeStockDTO> dtos, UserBean user);

    List<SpareConsumeStockDTO> detail(String workNum, String taskId, UserBean user);

    Page<SpareConsumeStockDTO> search(Pageable pageable, Searchable searchable);

    List<StockDTO> finishList(String workNum);

    List<StockDTO> finishList(String workNum, String confirmUser);
}
